package com.yanyu.space.sys.bean.po;


import com.baomidou.mybatisplus.annotation.TableName;
import com.yanyu.space.common.core.bean.db.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 职位
 *
 * @author yanyu
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_post")
@ApiModel(value = "Post对象", description = "职位")
public class Post extends BaseEntity {

    @ApiModelProperty(value = "岗位编码")
    private String code;

    @ApiModelProperty(value = "岗位名")
    private String name;

    @ApiModelProperty(value = "启用状态, 1：启用；0：禁用")
    private Integer enabled;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "备注")
    private String remark;
}
